<template>
    <div>
        <h1>User</h1>
    </div>
</template>

<script>
export default {
    created() {
      console.log(this.$route)
      console.log(this.$route.params)   //params传递的参数对象
    }
};
</script>

<style scoped lang="less">

</style>
